/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package services.Impl;

import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import models.ItemBasket;

/**
 *
 * @author amega
 */
@Stateless
@LocalBean
public class ItemBasketsServiceImpl extends GenericServiceImpl<ItemBasket> {
    
     @PersistenceContext(unitName="orsPU")
    private EntityManager em;
    
    public ItemBasketsServiceImpl() {
        super(ItemBasket.class);
    }
    
    
    
    @Override
    protected EntityManager getEntityManager() {
       return this.em;
    }

    
    
}
